import { FC, memo } from 'react';
import { Polyline, PolylineCollection } from 'resium';

type LineProps = Parameters<typeof Polyline>[0];

const Line: FC<LineProps> = (props) => {
    return (
        <PolylineCollection>
            <Polyline {...props} />
        </PolylineCollection>
    );
};

export default memo(Line);
